<link rel="stylesheet" href="../../css/iconFont/iconfont.css">

<style>
  #container {
    position: relative;
    height: 100%; /* Or whatever you want (eg. 400px) */
  }

  /*字体*/
  @font-face {
    font-family: "iconfont";
    src: url('../../css/iconFont/iconfont.eot'); /* IE9*/
    src: url('../../css/iconFont/iconfont.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../../css/iconFont/iconfont.woff') format('woff'), /* chrome, firefox */
    url('../../css/iconFont/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
    url('../../css/iconFont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
  }

  .iconfont {
    font-family:"iconfont" !important;
    font-size:14px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
  }

</style>
<script src="framework/js/jquery.table2excel.min.js"></script>

<!--案件进程导航条-->
<div class="Aj-nav">
    <!--<div class="Aj-nav-Top" style="position: relative;">

        <img ng-src="{{imgUrl}}" class="favoriteImg">
        <p class="Aj-nav-title">
            <span id="changeNavName-id">{{navTitle}}</span>
        <li class="dropdown Aj-setting">
            <a href="javascript" class="dropdown-toggle" data-toggle="dropdown">
                <img id="set-hide" src="img/navicon.png"/>
            </a>
            <ul class="dropdown-menu setting-menu" role="menu">
                <li class="setting-content" ng-click="favorite()" role="presentation">
                    <img src="img/icon_top.png" style="float: left"/>
                    <span class="span-left" id="setCaseTop">设置常用</span>
                    <div class="a-underline"></div>
                </li>
                <li class="setting-content" role="presentation" data-toggle="modal" data-target="#exitModal">
                    <img src="img/icon_exit.png" style="float: left"/>
                    <span class="span-left">退出案件</span>
                    <div class="a-underline"></div>
                </li>
                <li class="setting-content" role="presentation" data-toggle="modal" data-target="#archiveModal">
                    <img src="img/icon_review.png" style="float: left"/>
                    <span class="span-left">归档案件</span>
                    <div class="a-underline"></div>
                </li>
                <li class="setting-content" role="presentation" data-toggle="modal" data-target="#deleteModal">
                    <img src="img/icon_del.png" style="float: left"/>
                    <span class="span-left">删除案件</span>
                </li>
            </ul>
        </li>
        </p>
        &lt;!&ndash;删除案件弹出确认框&ndash;&gt;
        <div class="modal" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
             aria-hidden="true">
            <div class="modal-dialog alert-container">
                <div class="modal-content text-center">
                    <p class="alert-title">删除案件将删除所有的数据</p>
                    <p>此操作不可逆，是否删除？</p>

                    <button type="button" class="btn del-confir" ng-click="deleteConfirm()">确认</button>

                    <button type="button" class="btn yb-cancel-btn" ng-click="deleteCancel()">取消</button>
                </div>
            </div>
        </div>

        &lt;!&ndash;退出案件弹出确认框&ndash;&gt;
        <div class="modal" id="exitModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
             aria-hidden="true">
            <div class="modal-dialog alert-container">
                <div class="modal-content text-center">
                    <p class="alert-title-exit">退出案件后，你将无法访问该案件的内容</p>
                    <p>但相关的案件不会被删除，确定要退出？</p>

                    <button type="button" class="btn del-confir" ng-click="exitConfirm()">确认</button>

                    <button type="button" class="btn yb-cancel-btn" ng-click="exitCancel()">取消</button>
                </div>
            </div>
        </div>

        &lt;!&ndash;归档案件确认框&ndash;&gt;
        <div class="modal" id="archiveModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
             aria-hidden="true">
            <div class="modal-dialog alert-container">
                <div class="modal-content text-center">
                    <p class="alert-title-exit">案件归档后将不可编辑</p>
                    <p>确定要归档？</p>

                    <button type="button" class="btn del-confir" ng-click="archiveConfirm()">确认</button>

                    <button type="button" class="btn yb-cancel-btn" ng-click="archiveCancel()">取消</button>
                </div>
            </div>
        </div>

    </div>-->

    <div class=" Aj-nav-ul" >
      <div class="Aj-nav-Top" >
        <p class="favoriteImg" style="display: inline-block"></p>
        <span class="Aj-nav-title" style="display:inline-block;overflow: hidden;">
    <span id="changeNavName-id" style="float:left;height:30px;line-height:30px;padding-bottom: 3px;max-width:600px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;" >{{navTitle}}</span>
          <span class="d-Archived" ng-show="typeIf==7">已归档</span>
    <span class="dropdown Aj-setting"  style="width:14px;height: 17px;position: relative;display: none" >
      <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"  ng-click="caseBarSetAll($event)">
        <img id="set-hide" src="../../img/L_navicon.png"/>
      </a>
      <!--案件设置添加弹窗-->
      <span class="setting-case" ng-show="addRole.casePigeonhole" style="display: none">
        <span class="setting-case-con">
          <span class="set-pic1" data-toggle="modal" data-target="#caseSetMyModal" ng-click="caseSet()" style="position: absolute;top: 5px;border-bottom: 0px">
            <a href="JavaScript:void (0)" style="position: relative;left: 50px;text-decoration: none;">案件设置</a>
          </span>
          <!--<span tabindex="-1" id="" role="dialog"  data-target="deleteModal" aria-hidden="true">-->
             <!--<a href="JavaScript:void (0)" style="position: relative;left: 50px;text-decoration: none;">案件设置</a>-->
          <!--</span>-->
          <!--<div class="modal-content text-center">-->
          <!--<p class="alert-title">删除案件将删除所有的数据</p>-->
          <!--<p>此操作不可逆，是否删除？</p>-->

          <!--<button type="button" class="btn del-confir" ng-click="deleteConfirm()">确认</button>-->

          <!--<button type="button" class="btn yb-cancel-btn" ng-click="deleteCancel()">取消</button>-->
        <!--</div>-->
          <!--<span class="set-pic2" style="position: absolute;top: 50px;">-->
          <!--<a href="JavaScript:void (0)" style="position: relative;left: 45px;">归档案件</a>-->
          <!--</span>-->
        </span>
      </span>
      <!--<ul class="dropdown-menu setting-menu" role="menu">
        <li class="setting-content" ng-click="favorite()" role="presentation">
          <img src="img/icon_top.png" style="float: left"/>
          <span class="span-left" id="setCaseTop">设置常用</span>
          <div class="a-underline"></div>
        </li>
        <li class="setting-content" role="presentation" data-toggle="modal" data-target="#exitModal">
          <img src="img/icon_exit.png" style="float: left"/>
          <span class="span-left">退出案件</span>
          <div class="a-underline"></div>
        </li>
        <li class="setting-content" role="presentation" data-toggle="modal" data-target="#archiveModal">
          <img src="img/icon_review.png" style="float: left"/>
          <span class="span-left">归档案件</span>
          <div class="a-underline"></div>
        </li>
        <li class="setting-content" role="presentation" data-toggle="modal" data-target="#deleteModal">
          <img src="img/icon_del.png" style="float: left"/>
          <span class="span-left">删除案件</span>
        </li>
      </ul>-->
    </span>
  </span>

    </div>
   </div>
    <!--删除案件弹出确认框-->
    <div class="modal" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
         aria-hidden="true">
      <div class="modal-dialog alert-container">
        <div class="modal-content text-center">
          <p class="alert-title">删除案件将删除所有的数据</p>
          <p>此操作不可逆，是否删除？</p>

          <button type="button" class="btn del-confir" ng-click="deleteConfirm()">确认</button>

          <button type="button" class="btn yb-cancel-btn" ng-click="deleteCancel()">取消</button>
        </div>
      </div>
    </div>

    <!--退出案件弹出确认框-->
    <div class="modal" id="exitModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
         aria-hidden="true">
      <div class="modal-dialog alert-container">
        <div class="modal-content text-center">
          <p class="alert-title-exit">退出案件后，你将无法访问该案件的内容</p>
          <p>但相关的案件不会被删除，确定要退出？</p>

          <button type="button" class="btn del-confir" ng-click="exitConfirm()">确认</button>

          <button type="button" class="btn yb-cancel-btn" ng-click="exitCancel()">取消</button>
        </div>
      </div>
    </div>

    <!--归档案件确认框-->
    <div class="modal" id="archiveModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
      <div class="modal-dialog alert-container">
        <div class="modal-content text-center">
          <p class="alert-title-exit">案件归档后将不可编辑</p>
          <p>确定要归档？</p>

          <button type="button" class="btn del-confir" ng-click="archiveConfirm()">确认</button>

          <button type="button" class="btn yb-cancel-btn" ng-click="archiveCancel()">取消</button>
        </div>
      </div>
    </div>

    <div class="lscy-title clearfix">
      <div class="L_Aj-nav-ulLeft floatL" >
        <ul class="Aj-nav-ul2 clearfix" id="CaseBarNav">
          <li ui-sref-active="case_active">
            <a ui-sref="caseBarDetailxia">案件详情</a>
          </li>
          <li ui-sref-active="case_active">
            <a ui-sref="caseBarDetailjincheng">案件进程</a>
          </li>
          <!--<li class="">
            <a ui-sref="caseBarDetailpeople">相关人员</a>
          </li>-->
          <li  ui-sref-active="case_active">
            <a ui-sref="caseBarDetailZheng">证据清单</a>
          </li>
          <li  class="hide">
            <a ui-sref="caseBarDetailAnLi">相关案例</a>
          </li>
          <li  ui-sref-active="case_active">
            <a ui-sref="caseBarWrit">文件</a>
          </li>
          <li  ui-sref-active="case_active">
            <a ui-sref="calendar">日程</a>
          </li>
          <li  ui-sref-active="case_active">
            <a ui-sref="caseBarAccount">记账</a>
          </li>
          <!--<li  class="">-->
          <!--<a ui-sref="caseBarStatistics">统计</a>-->
          <!--</li>-->
          <li  ui-sref-active="case_active">
            <a ui-sref="caseBarDetailDong">动态</a>
          </li>
        </ul>
      </div>
      <div class="L_Aj-nav-ulRight floatR" style="display: none">
        <!--添加律师-->
        <!--<ul>
          <li class="headIcon">
            <img src="../../img/addPosiion.png" alt="" ng-click="openLawyer()">
            &lt;!&ndash;点击添加出来的弹窗&ndash;&gt;
            <div class="y-nav-addPlay" ng-show="showAddWindow.addLawyer">
               <div class="y-nav-addPlayT">
                 <span>添加参与人员</span>
                 <i ng-click="closeLawyer()"></i>
               </div>
               <div>
                 <ul class="y-nav-addPlayC">
                   <li ng-class="{'active':showAddWindow.direct}" ng-click="directLawyer()">直接添加</li>
                   <li ng-class="{'active':showAddWindow.invite}" ng-click="inviteLawyer()">邀请参与</li>
                 </ul>
               </div>
                &lt;!&ndash;直接添加&ndash;&gt;
              <div class="y-nav-addPlayB" ng-show="showAddWindow.direct">&lt;!&ndash;ng-keyup="searchAddLawyer()" &ndash;&gt;
                <input type="text" placeholder="请输入人员姓名" ng-model="keyword" ng-focus="mParties3()">&lt;!&ndash;ng-model="person.keyword"&ndash;&gt;
                &lt;!&ndash;ng-repeat="lawyer in lawyerList"&ndash;&gt;
                <div class="y-nav-addPlayADD clearfix" ng-repeat="x in CaseLawyerTianSelect">
                  <div>
                    <img src="../../img/y-icon6.png" alt="">
                    <p>{{x.username | limitTo:-2}}</p>
                  </div>
                  <i>{{x.username}}</i>
                  <button ng-click="CaseLawyerTianButton(x.username,x.id)">添加</button>&lt;!&ndash;ng-click="saveNeedLawyer()" &ndash;&gt;
                </div>
                &lt;!&ndash;<div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>
                <div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>
                <div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>
                <div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>&ndash;&gt;
              </div>
     <div class="L_Aj-nav-ulLeft floatL" >
       <ul class="Aj-nav-ul2 clearfix" id="CaseBarNav">
         <li class="case_active">
           <a ui-sref="caseBarDetailxia">案件详情</a>
         </li>
         <li class="">
           <a ui-sref="caseBarDetailjincheng">案件进程</a>
         </li>
         <!--<li class="">-->
           <!--<a ui-sref="caseBarDetailpeople">相关人员</a>-->
         <!--</li>-->
         <li  class="">
           <a ui-sref="caseBarDetailZheng">证据清单</a>
         </li>
         <li  class="hide">
           <a ui-sref="caseBarDetailAnLi">相关案例</a>
         </li>
         <li  class="">
           <a ui-sref="caseBarWrit">文件</a>
         </li>
         <li  class="">
           <a ui-sref="calendar">日程</a>
         </li>
         <li  class="">
           <a ui-sref="caseBarAccount">记账</a>
         </li>
         <!--<li  class="">-->
           <!--<a ui-sref="caseBarStatistics">统计</a>-->
         <!--</li>-->
         <li  class="">
           <a ui-sref="caseBarDetailDong">动态</a>
         </li>
       </ul>
     </div>
     <div class="L_Aj-nav-ulRight floatR" style="display: none">
       <!--添加律师-->
       <!--<ul>
         <li class="headIcon">
           <img src="../../img/addPosiion.png" alt="" ng-click="openLawyer()">
           &lt;!&ndash;点击添加出来的弹窗&ndash;&gt;
           <div class="y-nav-addPlay" ng-show="showAddWindow.addLawyer">
              <div class="y-nav-addPlayT">
                <span>添加参与人员</span>
                <i ng-click="closeLawyer()"></i>
              </div>
              <div>
                <ul class="y-nav-addPlayC">
                  <li ng-class="{'active':showAddWindow.direct}" ng-click="directLawyer()">直接添加</li>
                  <li ng-class="{'active':showAddWindow.invite}" ng-click="inviteLawyer()">邀请参与</li>
                </ul>
              </div>
               &lt;!&ndash;直接添加&ndash;&gt;
             <div class="y-nav-addPlayB" ng-show="showAddWindow.direct">&lt;!&ndash;ng-keyup="searchAddLawyer()" &ndash;&gt;
               <input type="text" placeholder="请输入人员姓名" ng-model="keyword" ng-focus="mParties3()">&lt;!&ndash;ng-model="person.keyword"&ndash;&gt;
               &lt;!&ndash;ng-repeat="lawyer in lawyerList"&ndash;&gt;
               <div class="y-nav-addPlayADD clearfix" ng-repeat="x in CaseLawyerTianSelect">
                 <div>
                   <img src="../../img/y-icon6.png" alt="">
                   <p>{{x.username | limitTo:-2}}</p>
                 </div>
                 <i>{{x.username}}</i>
                 <button ng-click="CaseLawyerTianButton(x.username,x.id)">添加</button>&lt;!&ndash;ng-click="saveNeedLawyer()" &ndash;&gt;
               </div>
               &lt;!&ndash;<div class="y-nav-addPlayADD clearfix">
                 <div><img src="../../img/y-icon35.png" alt=""></div>
                 <i>PLAY</i>
                 <button>添加</button>
               </div>
               <div class="y-nav-addPlayADD clearfix">
                 <div><img src="../../img/y-icon35.png" alt=""></div>
                 <i>PLAY</i>
                 <button>添加</button>
               </div>
               <div class="y-nav-addPlayADD clearfix">
                 <div><img src="../../img/y-icon35.png" alt=""></div>
                 <i>PLAY</i>
                 <button>添加</button>
               </div>
               <div class="y-nav-addPlayADD clearfix">
                 <div><img src="../../img/y-icon35.png" alt=""></div>
                 <i>PLAY</i>
                 <button>添加</button>
               </div>&ndash;&gt;
             </div>

              &lt;!&ndash;邀请参加&ndash;&gt;
              <div class="y-nav-request" ng-show="showAddWindow.invite" >
                <input type="text" placeholder="请输入邮箱添加" ng-model="person.needAddLawyerEmail">
                <div style="overflow: hidden; margin-top: 18px;">
                    <button style="width: 80px;height: 28px; background: #00bfb5;color:#fff">保存</button>
                    <button style="width: 40px; height: 28px; background: #fff; color:#999; margin-right: 10px;">取消</button>
                </div>
              </div>
            </div>

          </li>
          <li class="perIcon" ng-click="setRole()">
            <p>主办方</p>
            <img src="../../img/addPer.png" alt="">
          </li>
        </ul>-->

        <div class="addPopupBottom" ng-show="addRole.type">
          <div class="L_role" ng-click="saveCaseRole(1)"><!--L_active-->
            <p>主办律师</p>
            <p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>
          </div>
          <div class="L_role" ng-click="saveCaseRole(4)">
            <p>承办律师</p>
            <p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>
          </div>
          <div class="L_role" ng-click="saveCaseRole(3)">
            <p>助理</p>
            <p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>
          </div>
          <div class="L_role" ng-click="saveCaseRole(2)">
            <p>案源律师</p>
            <p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>
          </div>
        </div>
        <!--原版-->
        <!--<div class="lscy yb-top-20 clearfix" style="display: none">
          <span class="pull-left">律师成员:</span>
          <div class="neirongBox" style="margin-left: 32px;">
            <div class="cy pull-left" id="ZhuLawyer">
              <div class="addlvshi" style="background-color: rgb(66,183,159);color:#fff;">
                <span style="margin-top: 0px;">{{SponsorUsername}}</span></div>
              <span class="ZhuLawyer_title">主办律师</span>
            </div>

            <div class="cy pull-left LawyerAdd" id="AnyuanLawyer">
              <div class="addlvshi Sources1 Anyuanlvshi" style="background-color: rgb(66,183,159);color:#fff;position: relative;margin-top: 19px;width: 43px; height: 43px; text-align: center;line-height: 43px;cursor: pointer;margin-left: 7px;border-radius: 100%;">
                <img class="anyuan-close" style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"
                     src="img/lawyer-close.png" ng-click="Sources(SourcesUsername)">
                <span style="margin-top: -13px;">{{SourcesUsername}}</span></div>
              <div class="addlvshi Sources Anyuanlvshi"><i class="fa fa-fw fa-plus"></i></div>
              <span class="Anyuanlvshi_title">案源律师</span>
            </div>

            <div class='cy pull-left ' ng-repeat="x in CaseLawyers track by $index">
              <div class='addlvshi assistDiv'
                   style='background-color: rgb(66,183,159);color:#fff;position: relative;margin-top: 19px'>
                <img class="assist-close" style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"
                     src="img/lawyer-close.png" ng-click="Casedeletey(x.id,$index,x.username)">
                <span style='margin-top: -13px;'>{{x.username}}</span></div>
              <span>协助执行</span>
            </div>

            <div id="LawyerBox" style="float: left;">
              <div class="cy pull-left LawyerAdd" style="position: relative;">
                <div class="addlvshi" id="Zhixinxiezhu">
                  <i class="fa fa-fw fa-plus"></i>
                </div>

                <span>协助执行</span>
                <div class="LawyerAddBody-xia hide" style="min-height: 60px">
                  <i class="arrowicon"></i>
                  <span class="Add-close" ng-click="CaseLawyerClose()"></span>
                  <h5>添加参与人员</h5>
                  <ul class="LawyerList clearfix">
                    <li class="active"><a>直接添加</a></li>
                    <li class=""><a>邀请参与</a></li>
                  </ul>
                  <div class="LawyerDiv">
                    &lt;!&ndash;直接添加&ndash;&gt;
                    <div class="Lawyerbox ">
                      <input id="LVshiyouxiangID" ng-model="keyword" ng-focus="mParties3()"class="form-control" placeholder="请输入邮箱、手机号添加联系人"/>
                      <ul style="overflow-y:scroll;display: block;" class="LawyerboxUl">
                        <li ng-repeat="x in CaseLawyerTianSelect">
                          <span class="LawyerboxUlS" style="display: inline-block">{{x.username}}</span>
                          <button class="LawyerboxUlbutton" ng-click="CaseLawyerTianButton(x.username,x.id)">
                            添加
                          </button>
                        </li>
                      </ul>
                    </div>
                    &lt;!&ndash;邀请参与&ndash;&gt;
                    <div class="Lawyerbox hide">
                      <input class="form-control" placeholder="请输入人员姓名"/>
                      <div class="eplAddDivBtn">
                        <button>保存</button>
                        <a>取消</a>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>-->

        <!--新版-->
        <div class="clearfix">
          <!--<span class="pull-left">律师成员:{{caseLawyers}}</span>-->
          <div class="neirongBox">
            <!--id=ZhuLawyer-->
            <div class="cy pull-left LawyerAdd clearfix" id="ZhuLawyer">
              <div class="Sources12 Anyuanlvshi" ng-repeat="caseLawyer in caseLawyers | orderBy:'seq'" >
                <span style="text-align: center;margin-left: 6px">{{showLawyerRole(caseLawyer.lawyertypeid)}}</span>
                <img ng-src="{{caseLawyer.lawyer.iconUrl}}" ng-click="showLawyerInfo(caseLawyer)" data-toggle="popover" data-trigger="focus" ><!--ng-click="Sources(SourcesUsername)" --><!--ng-click="setRole()" -->
                <!--<pre>{{caseLawyer.lawyertypeid}}</pre>-->
                <!--<span>{{SponsorUsername}}</span>-->
              </div>
              <!--主办方弹窗-->
              <div class="y-addPopup-ALERT" ng-show="addRole.setLawyerRole">
                <div class="clearfix">
                  <img src="../../img/z-side.png" alt="" class="pull-right" ng-click="setLawyerRole()">
                </div>
                <p>
                  <span>主办律师不能设置角色</span>
                </p>
              </div>


            </div>
            <!--<div class="cy pull-left LawyerAdd" id="ZhuLawyer">
              <div class="Sources1 Anyuanlvshi" >
                <span>承办</span>
                <img src="img/addPer.png" ng-click="Sources(SourcesUsername)">
                <span>{{SponsorUsername}}</span>
              </div>
            </div>
            <div class="cy pull-left LawyerAdd" id="ZhuLawyer">
            <div class=" Sources1 Anyuanlvshi" >
              <span>邀请中</span>
              <img src="img/addPer.png" ng-click="Sources(SourcesUsername)">
              <span>{{SourcesUsername}}</span>
            </div>
            &lt;!&ndash;<div class="addlvshi Sources Anyuanlvshi"><i class="fa fa-fw fa-plus"></i></div>&ndash;&gt;
            </div>
            <div class="cy pull-left LawyerAdd" id="AnyuanLawyer">
              <div class=" Sources1 Anyuanlvshi "  >
                <img src="img/addPosiion.png" ng-click="Sources(SourcesUsername)" class="mt24">
                <span>{{SourcesUsername}}</span>
              </div>
              &lt;!&ndash;<div class="addlvshi Sources Anyuanlvshi"><i class="fa fa-fw fa-plus"></i></div>&ndash;&gt;
            </div>-->
            <div class='cy pull-left' style="position: relative"><!--ng-repeat="x in CaseLawyers track by $index"-->
              <div class='addlvshi1 assistDiv' ng-click="openLawyer()"  style="position: absolute;cursor: pointer">
                <img src="../../img/addPosiion.png" ><!--ng-click="Casedeletey(x.id,$index,x.username)"-->
                <!--<span>{{x.username}}</span>&lt;!&ndash;{{x.username}}&ndash;&gt;-->
              </div>
            </div>
            <!--添加律师-->
            <!--<div id="LawyerBox" ng-show="showAddWindow.addLawyer">-->
            <!--<div class="cy pull-left LawyerAdd">-->
            <!--<div class="addlvshi" id="Zhixinxiezhu">-->
            <!--<i class="fa fa-fw fa-plus"></i>-->
            <!--!--<span>协助执行</span>&ndash;&gt;-->
            <!--</div>-->
            <!--添加律师-->
            <!--<div class="LawyerAddBody-xia" style="min-height:80px;">-->
            <!--<i class="arrowicon"></i>-->
            <!--<span class="Add-close1" ng-click="closeLawyer()"></span>&lt;!&ndash;CaseLawyerClose()  &ndash;&gt;-->
            <!--<h5>添加参与人员</h5>-->
            <!--<ul class="LawyerList clearfix">-->
            <!--<li class="active"><a>直接添加</a></li>-->
            <!--<li class=""><a>邀请参与</a></li>-->
            <!--</ul>-->
            <!--<div class="LawyerDiv">-->
            <!--&lt;!&ndash;直接添加&ndash;&gt;-->
            <!--<div class="Lawyerbox ">-->
            <!--<input id="LVshiyouxiangID" ng-model="keyword" ng-focus="mParties3()" class="form-control" placeholder="请输入手机号添加联系人"/>-->
            <!--<ul style="overflow-y:auto;display: block;" class="LawyerboxUl">-->
            <!--<li ng-repeat="x in CaseLawyerTianSelect">-->
            <!--<span class="LawyerboxUlS" style="display: inline-block">{{x.username}}</span>-->
            <!--<button class="LawyerboxUlbutton" ng-click="CaseLawyerTianButton(x.username,x.id)">-->
            <!--添加-->
            <!--</button>-->
            <!--</li>-->
            <!--</ul>-->
            <!--</div>-->
            <!--&lt;!&ndash;邀请参与&ndash;&gt;-->
            <!--<div class="Lawyerbox hide">-->
            <!--<input class="form-control" type="email" name="email" placeholder="请输入邮箱" ng-model="inviterEmail" style="border-radius: 5px!important;" />-->
            <!--<div class="eplAddDivBtn">-->
            <!--<button ng-click="saveEmailLawyer()">保存</button>-->
            <!--<button ng-click="closeLawyer()">取消</button>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
            <!--设置角色-->
            <div class="addPopup" ng-show="addRole.role"><!--ng-if="caseLawyerInfor.lawyertypeid == 1"-->
              <div class="addPopupTop">
                <div class="addPopupTopLeft">
                  <img ng-if="caseLawyerInfor.lawyer.iconUrl!= ''" ng-src="{{caseLawyerInfor.lawyer.iconUrl}}" alt="">
                </div>

                <div class="addPopupTopRight">
                  <p>
                    <span>{{caseLawyerInfor.lawyer.username}}</span>

                  </p>
                  <p class="L_roleDetail">
                    {{caseLawyerInfor.lawyer.username}}
                  </p>
                </div>
                <div class="addPopupTopClose" style="cursor: pointer" ng-click="addPopupTopClose()">
                  <img src="../../img/closeicon.png" alt="">
                </div>
              </div>

              <div class="addPopupCenter">
                <a class="L_setRole" href="JavaScript:void(0);" ng-click="setType()">设置角色</a>
                <a href="JavaScript:void(0);" ng-click="setDel($index)">移除</a>
              </div>
            </div>
          </div>
        </div>

      </div>


      <!------------------------------------------>
      <div class="L_Aj-nav-ulRight floatR" style="display: block">
        <!--添加律师-->
        <!--<ul>
          <li class="headIcon">
            <img src="../../img/addPosiion.png" alt="" ng-click="openLawyer()">
            &lt;!&ndash;点击添加出来的弹窗&ndash;&gt;
            <div class="y-nav-addPlay" ng-show="showAddWindow.addLawyer">
               <div class="y-nav-addPlayT">
                 <span>添加参与人员</span>
                 <i ng-click="closeLawyer()"></i>
               </div>
               <div>
                 <ul class="y-nav-addPlayC">
                   <li ng-class="{'active':showAddWindow.direct}" ng-click="directLawyer()">直接添加</li>
                   <li ng-class="{'active':showAddWindow.invite}" ng-click="inviteLawyer()">邀请参与</li>
                 </ul>
               </div>
                &lt;!&ndash;直接添加&ndash;&gt;
              <div class="y-nav-addPlayB" ng-show="showAddWindow.direct">&lt;!&ndash;ng-keyup="searchAddLawyer()" &ndash;&gt;
                <input type="text" placeholder="请输入人员姓名" ng-model="keyword" ng-focus="mParties3()">&lt;!&ndash;ng-model="person.keyword"&ndash;&gt;
                &lt;!&ndash;ng-repeat="lawyer in lawyerList"&ndash;&gt;
                <div class="y-nav-addPlayADD clearfix" ng-repeat="x in CaseLawyerTianSelect">
                  <div>
                    <img src="../../img/y-icon6.png" alt="">
                    <p>{{x.username | limitTo:-2}}</p>
                  </div>
                  <i>{{x.username}}</i>
                  <button ng-click="CaseLawyerTianButton(x.username,x.id)">添加</button>&lt;!&ndash;ng-click="saveNeedLawyer()" &ndash;&gt;
                </div>
                &lt;!&ndash;<div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>
                <div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>
                <div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>
                <div class="y-nav-addPlayADD clearfix">
                  <div><img src="../../img/y-icon35.png" alt=""></div>
                  <i>PLAY</i>
                  <button>添加</button>
                </div>&ndash;&gt;
              </div>

              &lt;!&ndash;邀请参加&ndash;&gt;
              <div class="y-nav-request" ng-show="showAddWindow.invite" >
                <input type="text" placeholder="请输入邮箱添加" ng-model="person.needAddLawyerEmail">
                <div style="overflow: hidden; margin-top: 18px;">
                    <button style="width: 80px;height: 28px; background: #00bfb5;color:#fff">保存</button>
                    <button style="width: 40px; height: 28px; background: #fff; color:#999; margin-right: 10px;">取消</button>
                </div>
              </div>
            </div>

          </li>
          <li class="perIcon" ng-click="setRole()">
            <p>主办方</p>
            <img src="../../img/addPer.png" alt="">
          </li>
        </ul>-->

        <div style="float: right;margin-right: 30px;position: relative">
          <em  class="dropdown-toggle"  data-toggle="dropdown"  ng-click="caseBarSetAll()" style=" cursor: pointer;">
          <i class="icon iconfont " >&#xe658;</i>&nbsp;
          <span class="L_moreIcon" style="position:relative">更多
            <!--案件设置添加弹窗-->

          </span>
          </em>
          <div class="setting-case setting-casenew" ng-show="addRole.casePigeonhole"  >
            <div class="settingCaseTitle">
              操作菜单
              <i class="icon iconfont">&#xe683;</i>
            </div>
            <div class="setting-case-con1">
              <div class="" data-toggle="modal" data-target="#caseSetMyModal" ng-click="caseSet()" style="position: absolute;top: 20px;border-bottom: 0px" ng-hide="true">
               <i class="icon iconfont">&#xe7c5</i> <a href="JavaScript:void (0)">案件设置</a>
              </div>
              <div class="" ng-click="archiveConfirm()"  ng-hide="typeIf==7" >
              <i class="icon iconfont">&#xe6a8</i><a href="JavaScript:void (0)">案件归档</a>
              </div>
              <div class=""  ng-click="deleteConfirm()" ng-hide="typeIf==7">
                <i class="icon iconfont" style="font-size: 15px;">&#xe996</i> <a href="JavaScript:void (0)">删除案件</a>
              </div>

              <div class="" ng-click="archiveCancel()" ng-show="typeIf==7">
                <i class="icon iconfont" style="font-size: 15px;">&#xe6a9</i><a href="JavaScript:void (0)">取消归档</a>
              </div>
            </div>
          </div>
          <em id="L_lawyerList" style="cursor: pointer;">
          <i class="icon iconfont" >&#xe7e6;</i>
          <span class="L_lawyerListNum">{{caseLawyers.length}}</span>
          </em>
        </div>

        <!--案件设置添加弹窗-->




        <!--原版-->
        <!--<div class="lscy yb-top-20 clearfix" style="display: none">
          <span class="pull-left">律师成员:</span>
          <div class="neirongBox" style="margin-left: 32px;">
            <div class="cy pull-left" id="ZhuLawyer">
              <div class="addlvshi" style="background-color: rgb(66,183,159);color:#fff;">
                <span style="margin-top: 0px;">{{SponsorUsername}}</span></div>
              <span class="ZhuLawyer_title">主办律师</span>
            </div>

            <div class="cy pull-left LawyerAdd" id="AnyuanLawyer">
              <div class="addlvshi Sources1 Anyuanlvshi" style="background-color: rgb(66,183,159);color:#fff;position: relative;margin-top: 19px;width: 43px; height: 43px; text-align: center;line-height: 43px;cursor: pointer;margin-left: 7px;border-radius: 100%;">
                <img class="anyuan-close" style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"
                     src="img/lawyer-close.png" ng-click="Sources(SourcesUsername)">
                <span style="margin-top: -13px;">{{SourcesUsername}}</span></div>
              <div class="addlvshi Sources Anyuanlvshi"><i class="fa fa-fw fa-plus"></i></div>
              <span class="Anyuanlvshi_title">案源律师</span>
            </div>

            <div class='cy pull-left ' ng-repeat="x in CaseLawyers track by $index">
              <div class='addlvshi assistDiv'
                   style='background-color: rgb(66,183,159);color:#fff;position: relative;margin-top: 19px'>
                <img class="assist-close" style="width: 15px;height: 15px;position: absolute;top: -2px;right: -2px;"
                     src="img/lawyer-close.png" ng-click="Casedeletey(x.id,$index,x.username)">
                <span style='margin-top: -13px;'>{{x.username}}</span></div>
              <span>协助执行</span>
            </div>

            <div id="LawyerBox" style="float: left;">
              <div class="cy pull-left LawyerAdd" style="position: relative;">
                <div class="addlvshi" id="Zhixinxiezhu">
                  <i class="fa fa-fw fa-plus"></i>
                </div>

                <span>协助执行</span>
                <div class="LawyerAddBody-xia hide" style="min-height: 60px">
                  <i class="arrowicon"></i>
                  <span class="Add-close" ng-click="CaseLawyerClose()"></span>
                  <h5>添加参与人员</h5>
                  <ul class="LawyerList clearfix">
                    <li class="active"><a>直接添加</a></li>
                    <li class=""><a>邀请参与</a></li>
                  </ul>
                  <div class="LawyerDiv">
                    &lt;!&ndash;直接添加&ndash;&gt;
                    <div class="Lawyerbox ">
                      <input id="LVshiyouxiangID" ng-model="keyword" ng-focus="mParties3()"class="form-control" placeholder="请输入邮箱、手机号添加联系人"/>
                      <ul style="overflow-y:scroll;display: block;" class="LawyerboxUl">
                        <li ng-repeat="x in CaseLawyerTianSelect">
                          <span class="LawyerboxUlS" style="display: inline-block">{{x.username}}</span>
                          <button class="LawyerboxUlbutton" ng-click="CaseLawyerTianButton(x.username,x.id)">
                            添加
                          </button>
                        </li>
                      </ul>
                    </div>
                    &lt;!&ndash;邀请参与&ndash;&gt;
                    <div class="Lawyerbox hide">
                      <input class="form-control" placeholder="请输入人员姓名"/>
                      <div class="eplAddDivBtn">
                        <button>保存</button>
                        <a>取消</a>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>-->


      </div>

    </div>

    <!-- 确认的模态框-->
    <div class="modal fade" id="myBarrister" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
              ×
            </button>

            <!--标题-->
            <h4 class="modal-title" id="myModalLabel" style="text-align: center">
              {{mReminderheadline}}
            </h4>
          </div>
          <!--内容-->
          <div class="modal-body">
            <P ng-bind-html="mRemindertxt"></P>
          </div>
          <div class="modal-footer" style="text-align: center">
            <button type="button" class="btn   " data-dismiss="modal">确定</button>
          </div>
        </div>
      </div>
    </div>

    <!--律师列表-->
    <div class="clearfix " id="collapseExample" data-toggle="popover">
      <div class="well lLawyerList" style="background: #ffffff;width: 100px;height: 100%">
        <div class="L_lawyerListClose"  style="cursor: pointer">
          <i class="icon iconfont" style="font-size: 16px">&#xe66e;</i>
        </div>
        <div class="neirongBox " style="float: none;margin: 0px;width: 100px;height: 100%;">
          <!--id=ZhuLawyer-->
          <div class="cy LawyerAdd clearfix" id="ZhuLawyer">
            <!--主办-->
            <div class="Sources12 Anyuanlvshi" ><!--ng-repeat="caseLawyer in caseLawyers | orderBy:'seq'"-->
              <p id="host" ng-class="{ 'lLawyerType': hostType == 1 }"  ng-show="hostTypeList.length>0"><!--ng-show="hostTypeList($index).lawyertypeid==1"-->
                <span style="text-align: center;margin-left: 28px">{{showLawyerRole(hostType)}}</span>
                <span class="lHeadIconDiv" ng-repeat="caseLawyer in hostTypeList">
                  <em style="width:100%"  ng-click="showLawyerInfo(caseLawyer,$event)">
                     <img class="lHeadIcon" ng-if="caseLawyer.lawyertypeid==1" ng-src="{{caseLawyer.lawyer.iconUrl}}" data-toggle="popover" data-trigger="focus" ><!--ng-click="Sources(SourcesUsername)" --><!--ng-click="setRole()" -->
                  </em>
                  </span>
              </p>
              <p id="caseSource" ng-class="{ 'lLawyerType': caseSourceType == 2 }" ng-show="caseSourceTypeList.length>0">
                <span style="text-align: center;margin-left: 28px">{{showLawyerRole(caseSourceType)}}</span>
                <span class="lHeadIconDiv"  ng-repeat="caseLawyer in caseSourceTypeList" >
                  <em style="width:100%" ng-click="showLawyerInfo(caseLawyer,$event)">
                   <img class="lHeadIcon" ng-if="caseLawyer.lawyertypeid==2" ng-src="{{caseLawyer.lawyer.iconUrl}}"  data-toggle="popover" data-trigger="focus" ><!--ng-click="Sources(SourcesUsername)" --><!--ng-click="setRole()" -->
                 </em>
                </span>
              </p>
              <p id="manager" ng-class="{ 'lLawyerType': managerType==3 }" ng-show="managerTypeList.length>0">
                <span style="text-align: center;margin-left: 28px" ng-show="managerType==3">{{showLawyerRole(managerType)}}</span>
                <span class="lHeadIconDiv" ng-repeat="caseLawyer in managerTypeList" >
                  <em style="width:100%"  ng-click="showLawyerInfo(caseLawyer,$event)" >
                    <img class="lHeadIcon"  ng-if="caseLawyer.lawyertypeid==3" ng-src="{{caseLawyer.lawyer.iconUrl}}"data-toggle="popover" data-trigger="focus" ><!--ng-click="Sources(SourcesUsername)" --><!--ng-click="setRole()" -->
                  </em>

                </span>
              </p>
              <p id="help" ng-class="{ 'lLawyerType': helpType==4 }" ng-show="helpTypeList.length>0">
                <span style="text-align: center;margin-left: 28px" ng-show="helpType==4">{{showLawyerRole(helpType)}}</span>
                <span class="lHeadIconDiv" ng-repeat="caseLawyer in helpTypeList">
                  <em style="width:100%" ng-click="showLawyerInfo(caseLawyer,$event)">
                     <img class="lHeadIcon"  ng-if="caseLawyer.lawyertypeid==4" ng-src="{{caseLawyer.lawyer.iconUrl}}"  data-toggle="popover" data-trigger="focus" ><!--ng-click="Sources(SourcesUsername)" --><!--ng-click="setRole()" -->
                  </em>
                  </span>
              </p>
              <!--<pre>{{caseLawyer.lawyertypeid}}</pre>-->
              <!--<span>{{SponsorUsername}}</span>-->
            </div>

            <!--主办方弹窗-->
            <div class="y-addPopup-ALERT" ng-show="addRole.setLawyerRole">
              <div class="clearfix">
                <img src="../../img/z-side.png" alt="" class="pull-right" ng-click="setLawyerRole()">
              </div>
              <p>
                <span>主办律师不能设置角色</span>
              </p>
            </div>
          </div>
          <div class='cy'>
            <!--ng-repeat="x in CaseLawyers track by $index"-->
            <div class='addlvshi1 assistDiv' ng-click="openLawyer()" style="bottom:50px">
              <!--<img src="../../img/addPosiion.png" >-->
              <i class="icon iconfont">&#xe994;</i>
              <!--ng-click="Casedeletey(x.id,$index,x.username)"-->
              <!--<span>{{x.username}}</span>&lt;!&ndash;{{x.username}}&ndash;&gt;-->
            </div>
          </div>
          <div class="addPopup" id="showLawyer" ng-show="addRole.role"><!--ng-if="caseLawyerInfor.lawyertypeid == 1"-->
            <div class="addPopupTop">
              <div class="addPopupTopLeft">
                <img ng-if="caseLawyerInfor.lawyer.iconUrl!= ''" ng-src="{{caseLawyerInfor.lawyer.iconUrl}}" alt="">
                <!--<img src="../../img/headIcon.png" alt="">-->
                <!--<span>{{caseLawyerInfor.lawyer.username | limitTo:2}}</span>-->
              </div>
              <div class="addPopupTopClose" style="cursor: pointer" ng-click="addPopupTopClose()">
                <!--<img src="../../img/closeicon.png" alt="">-->
                <i class="icon iconfont" style="color: #ffffff">&#xe66e;</i>
              </div>
              <div class="addPopupTopRight">
                <p>
                  <span>{{caseLawyerInfor.lawyer.username}}</span>
                </p>
               <!-- <p class="L_roleDetail">
                  {{caseLawyerInfor.lawyer.username}}
                </p>-->
              </div>
              <div class="addPopupCenter" ng-show="hostLawyer">
                <a class="L_setRole" href="JavaScript:void(0);" ng-click="setType()">设置角色</a>
                <a href="JavaScript:void(0);" ng-click="setDel($index)">移除</a>
              </div>
            </div>
            <div class="addPopupBottom" ng-show="addRole.type">
              <div class="L_role " ng-click="saveCaseRole(1)"><!--L_active--><!--L_roleActive-->
                <p>主办律师</p>
                <i class="icon iconfont" ng-if="caseLawyerInfor.lawyertypeid==1">&#xe642;</i>
                <!--<p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>-->
              </div>
              <div class="L_role" ng-click="saveCaseRole(4)">
                <p>协办律师</p>
                <i class="icon iconfont" ng-if="caseLawyerInfor.lawyertypeid==4">&#xe642;</i>
                <!--<p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>-->
              </div>
              <div class="L_role" ng-click="saveCaseRole(2)">
                <p>案源律师</p>
                <i class="icon iconfont" ng-if="caseLawyerInfor.lawyertypeid==2">&#xe642;</i>
                <!--<p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>-->
              </div>
              <div class="L_role" ng-click="saveCaseRole(3)">
                <p>助理</p>
                <i class="icon iconfont" ng-if="caseLawyerInfor.lawyertypeid==3">&#xe642;</i>
                <!--<p class="L_roleDetail">拥有管理列表、成员、创建私有列表权限</p>-->
              </div>

            </div>
          </div>
        </div>
      </div>
    </div>

</div>

<!--案件设置-->
<!-- Modal -->
<div class="modal fade" id="caseSetMyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-body" style="width: 610px">
        <div class="L_caseReasonCpm" ng-show="addRole.caseBarAll">
          <!--<div class="L_caseReason"></div>-->
          <div class="L_caseSet">
            <div class="L_caseSetTitle">
              <p>案件设置</p>
              <img src="../../img/closeWindow.png" style="cursor: pointer" alt="" data-dismiss="modal" ng-click="caseBarSetClose()">
            </div>
            <div class="L_caseSetContent">
              <div class="L_caseSetLeft">
                <a href="JavaScript:void(0);" ng-click="caseBarSetBase()">
                  <i class="L_caseSetIcon L_BaseInfor" ng-class="{'L_caseBaseIcon': addRole.caseSetBase == true}"></i>
                  <p ng-class="{'L_caseBaseP':addRole.caseSetBase == true}">基本信息</p>
                </a>
                <!--<a href="JavaScript:void(0);" ng-click="caseBarSetNav()">-->
                <!--<i class="L_caseSetIcon L_NavSet" ng-class="{'L_caseBaseIcon': addRole.caseSetNav == true}"></i>-->
                <!--<p ng-class="{'L_caseBaseP':addRole.caseSetNav == true}">导航设置</p>-->
                <!--</a>-->
                <!--<a href="JavaScript:void(0);" ng-click="caseBarSetMember()">-->
                <!--<i class="L_caseSetIcon L_MemberMoment" ng-class="{'L_caseBaseIcon': addRole.caseSetMember == true}"></i>-->
                <!--<p ng-class="{'L_caseBaseP':addRole.caseSetMember == true}">成员管理</p>-->
                <!--</a>-->
                <!--<a href="JavaScript:void(0);" ng-click="caseBarSetMore()" ng-if="caseLawyerInfor.lawyerid != loginId">-->
                  <!--<i class="L_caseSetIcon L_More" ng-class="{'L_caseBaseIcon': addRole.caseSetMore == true}"></i>-->
                  <!--<p ng-class="{'L_caseBaseP':addRole.caseSetMore == true}">更多</p>-->
                <!--</a>-->
              </div>
              <!--基础信息-->
              <div class="L_caseSetRight L_RightBaseInfor" ng-show="addRole.caseSetBase">
                <p>案件名称</p>
                <input type="text" ng-model="caseBase.caseName" ng-blur="caseBaseSet()" style="border-radius: 5px!important;"/>
                <!--<p>案件公开性</p>-->
                <!--<input type="text" placeholder="私有案件（只有加入案件的成员才能看到该案件内容）" disabled="disabled"/>-->
              </div>
              <!--基础信息-->
              <!--导航设置-->
              <!--<div class="L_caseSetRight L_RightSetNav" ng-show="addRole.caseSetNav">-->
              <!--<div class="L_RightSetNavUp">-->
              <!--<p>项目导航设置</p>-->
              <!--<span>已添加至导航的应用(拖动图标排序)</span>-->
              <!--</div>-->
              <!--<div class="L_RightSetNavConter">-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcon  L_task L_SetNavIcon"></i>-->
              <!--<p class="L_SetNavP">任务</p>-->
              <!--</a>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcon  L_share"></i>-->
              <!--<p>分享</p>-->
              <!--</a>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcon  L_file"></i>-->
              <!--<p>文件</p>-->
              <!--</a>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcon  L_schedule"></i>-->
              <!--<p>日程</p>-->
              <!--</a>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcon  L_label"></i>-->
              <!--<p>标签</p>-->
              <!--</a>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcon  L_set"></i>-->
              <!--<p>设置</p>-->
              <!--</a>-->
              <!--</div>-->
              <!--<div class="L_RightSetNavDown">-->
              <!--<span>未添加至导航的应用</span>-->
              <!--<div>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcons  L_tasks"></i>-->
              <!--<p>任务</p>-->
              <!--</a>-->
              <!--<a href="JavaScript:void(0);">-->
              <!--<i class="L_RightSetNavIcons  L_MootCourt"></i>-->
              <!--<p>模拟法庭</p>-->
              <!--</a>-->
              <!--</div>-->
              <!--</div>-->
              <!--</div>-->
              <!--导航设置-->
              <!--成员管理-->
              <div class="L_caseSetRight L_RightMemberMoment clearfix" ng-show="addRole.caseSetMember">
                <div class="L_MemberListTit" ng-repeat="caseLawyer in caseLawyers">
                  <div class="L_memberXT" style="position: relative">
                    <!--<img src="../../img/L_momentTX.png" alt="" style="width: 30px;height: 30px">-->
                    <!--<span class="L_memberEmailP1" style="position: absolute;top: 20px;left: 11px;color: #ffffff" >{{caseLawyer.lawyer.username | limitTo:-2}}</span>-->
                    <img ng-src="{{caseLawyer.iconUrl}}" alt="">
                  </div>
                  <!--<div class="L_memberEmail">-->
                  <!--<p class="L_memberEmailP2">{{caseLawyer.lawyer.email}}</p>-->
                  <!--</div>-->
                  <!--<div class="L_memberPhone">-->
                  <!--<p>{{caseLawyer.lawyer.cellphone}}</p>-->
                  <!--</div>-->
                  <div class="L_memberRole">
                    <!--<input type="text" placeholder="工作量" style="height: 34px;"/>-->
                    <!--<select name="" id="" ng-model="caseLawyer.lawyertypeid" ng-init="caseLawyer.lawyertypeid = '0'" style="height:33px;margin-right: 20px;border-radius: 5px!important;">-->
                    <!--<option value="1">主办律师</option>-->
                    <!--<option value="{{caseLawyer.lawyertypeid == 4}}">承办律师</option>-->
                    <!--<option value="{{caseLawyer.lawyertypeid == 3}}">助理</option>-->
                    <!--<option value="{{caseLawyer.lawyertypeid == 2}}">案源律师</option>-->
                    <!--</select>-->
                    <select name="" id=""  style="height:33px;margin-right: 20px;border-radius: 5px!important;">
                      <option value="主办律师">主办律师</option>
                      <option value="承办律师">承办律师</option>
                      <option value="助理">助理</option>
                      <option value="案源律师">案源律师</option>
                    </select>
                    <!--<pre>{{caseLawyer | json}}</pre>-->
                    <input type="text"  placeholder="{{caseLawyer.lawyertypeid == 1  ? '创建者' : '其他' }}" disabled="disabled" style="height: 34px;border-radius: 5px!important;"/>
                  </div>
                </div>
                <!--<div class="L_MemberList">-->
                <!--<div class="L_memberXT">-->
                <!--<img src="../../img/L_momentTX.png" alt="">-->
                <!--</div>-->
                <!--<div class="L_memberEmail">-->
                <!--<p class="L_memberEmailP1">柴云掌</p>-->
                <!--<p class="L_memberEmailP2">wuhaniu@163.com</p>-->
                <!--</div>-->
                <!--<div class="L_memberPhone">-->
                <!--<p>18610773717</p>-->
                <!--</div>-->
                <!--<div class="L_memberRole">-->
                <!--<input type="text" placeholder="工作量"/>-->
                <!--<select name="">-->
                <!--<option value="主办律师">主办律师</option>-->
                <!--<option value="承办律师">承办律师</option>-->
                <!--<option value="助理">助理</option>-->
                <!--<option value="案源律师">案源律师</option>-->
                <!--</select>-->
                <!--<input type="text" value="主办律师"/>-->
                <!--<input type="text" placeholder="移除" disabled="disabled" style="cursor: pointer"/>-->
                <!--</div>-->
                <!--</div>-->
              </div>
              <!--更多-->
              <div class="L_caseSetRight L_RightMore" ng-show="addRole.caseSetMore">
                <h2>案件操作</h2>
                <div class="L_MoreDel">
                  <div class="L_MoreDelLeft">
                    <p class="L_MoreDelLeftp1">删除案件</p>
                    <p class="L_MoreDelLeftp2">删除案件后，所有的内容都将被删除</p>
                  </div>
                  <div class="L_MoreDelRight"  data-dismiss="modal" ng-click="deleteConfirm()" >
                    <a href="JavaScript:void(0);">删除案件</a>
                  </div>
                </div>
                <!--<div class="L_MoreEmail">-->
                <!--<div class="L_MoreEmailLeft">-->
                <!--<p class="L_MoreEmailLeftp1">邮件通知</p>-->
                <!--<p class="L_MoreEmailLeftp2">当前邮件通知开启，您将收到关于该案件的所有邮件通知</p>-->
                <!--<p class="L_MoreEmailLeftp2">当前邮件通知开启，您将收到关于该案件的所有邮件通知</p>-->
                <!--</div>-->
                <!--<div class="L_MoreEmailRight">-->
                <!--<a href="JavaScript:void(0);">邮箱通知</a>-->
                <!--</div>-->
                <!--</div>-->
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<!-----邀请案件律师------->
<div class="modal fade" id="myModalInviteLaywer" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <!--上边-->
      <div class="y-inv" style="height:auto; padding:0 0 50px 0">
        <div>
          <div class="y-inv-top clearfix">
            <span class="fl">添加案件成员</span>
            <div class="fr">
              <a href="javascript:;">
                <img src="../../img/y-icon-close.png" alt=""  data-dismiss="modal" aria-label="Close">
              </a>
            </div>
          </div>

          <div class="commonLine"></div>
        </div>
        <!--中间导航-->
        <div>
          <div class="y-inv-center">
            <ul class="clearfix" ng-init="alertTabShow = 0">
              <li class="fl" ng-show="caseowner == 1"><a href="javascript:;" ng-click="alertTabShow = 0" ng-class="{'active':alertTabShow == 0}">直接添加</a></li>
              <li class="fl"><a href="javascript:;" ng-click="alertTabShow = 1" ng-class="{'active':alertTabShow == 1}">邀请</a></li>
            </ul>
          </div>
        </div>
        <!--下边-->
        <!------------------------------------直接添加- 1.有团队则选择团队成员 2.无团队则选择---------------->
        <div>
          <div class="y-inv-bottom2" ng-show="alertTabShow == 0">
            <div class="y-focus2">
              <div class="y-inv-enter2 wt-scroll" >
                <ul>
                  <li ng-repeat="item in CaseLawyerTianSelect" class="clearfix" ng-class="{'active':alertTabShow == 0}">
                      <span class="fl" >
                        <img src="" ng-if="item.Icon" ng-src="{{item.Icon}}" alt="" width="30" height="30">
                      </span>
                    <em class="fl on">{{item.UserName}}</em>
                    <!--<i></i>-->
                    <a class="fr" href="javascript:;" ng-click="CaseLawyerTianButton(item.UserName, item.Id, item.Icon)" ng-if="item.flag == 1">添加</a>
                    <a class="fr" href="javascript:;" ng-if="item.flag == 2">已邀请</a>
                    <a class="fr" href="javascript:;" ng-if="item.flag == 3">已添加</a>
                  </li>
                </ul>
              </div>
              <div>
                <div class="y-inv-enterText2 clearfix">
                  <div class="y-inv-this2 fl">
                    <div>本次添加了{{addTeamLawyerCount}}人</div>
                    <!--<div class="y-inv-surname2" ng-repeat="member in inviteLawfrimMemberList | filter: member.invited == true">-->
                    <!--<span class="fl" ><img src="" ng-src="{{member.icon}}" alt=""></span>-->
                    <!--<span class="y-del"></span>-->
                    <!--</div>-->
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div >
        <!------------------------邀请-------------------------->
        <div>
          <div class="y-inv-bottom" ng-show="alertTabShow == 1">
            <div class="y-inv-bottomC clearfix">
              <input maxlength="50" type="text" ng-model="inviterEmail" placeholder="输入完整的邮箱" ng-blur="invitationEmailCase()" class="y-inv-bTtext2 y-inv-bTtext3 fl">
              <a href="javascript:;" ng-click="getCaseLawyerSingle()" class="y-click-inv fl">查找</a>
            </div>
            <div style="margin-left: 90px">
              <p style="color: red;margin: 5px 8px;" ng-show="phoneEmpty">邮箱不能为空</p>
              <p style="color: red;margin: 5px 8px;" ng-show="phoneValid">请输入有效的邮箱</p>
            </div>
            <div class="y-focus">
              <div class="y-inv-enter">
                <ul ng-if="invitedTempMembers.length > 0">
                  <li ng-repeat="item in invitedTempMembers" class="clearfix" ng-click="addClass(item)" ng-class="{'active':item.show}">

                    <span class="fl" ng-if="!item.register">{{item.email | limitTo:3}}</span>
                    <span class="fl" ng-if="item.register && item.name ">{{item.name | limitTo:2}}</span>
                    <span class="fl" ng-if="item.register && item.email != '' && item.name == ''">{{item.email | limitTo:3}}</span>

                    <i class="fl" >{{item.email}}</i>
                    <a class="fr" href="javascript:void(0);" ng-if="item.flag == 1" ng-click="saveEmailLawyer()">邀请</a>
                    <a class="fr" href="javascript:void(0);" ng-if="item.flag == 2">邀请中</a>
                    <a class="fr" href="javascript:void(0);" ng-if="item.flag == 3">已添加</a>
                  </li>
                </ul>
              </div>
              <div>
                <div class="y-inv-enterText clearfix">
                  <ul class="y-inv-this fl clearfix">
                    <div>本次添加了{{addLawyerAllCount}}人</div>
                    <li ng-repeat="item in invitedMembers" class=" fl clearfix">
                      <!--<div class="y-inv-surname y-inv-userName">乔</div>-->
                      <div class="y-inv-surname" ng-if="!item.register">{{item.email | limitTo:3}}</div>
                      <div class="y-inv-surname"  ng-if="item.register && item.name ">{{item.name | limitTo:2}}</div>
                      <div class="y-inv-surname"  ng-if="item.register && (item.name == '' || item.name == '')">{{item.email | limitTo:3}}</div>
                    </li>
                  </ul>
                  <ul class="y-inv-this fl clearfix">
                    <div>邀请了{{addLawyerNewCount}}个新用户</div>
                    <div>请通知对方查收邀请邮件</div>
                    <li ng-repeat="item in inviteNewMembers" class="fl clearfix">
                      <!--<div class="y-inv-surname y-inv-userName">乔</div>-->
                      <div class="y-inv-surname y-inv-userName" ng-if="!item.register">{{item.email | limitTo:3}}</div>
                      <div class="y-inv-surname y-inv-userName"  ng-if="item.register && item.name ">{{item.name | limitTo:2}}</div>
                      <div class="y-inv-surname y-inv-userName"  ng-if="item.register && (item.name == '' || item.name == '')">{{item.email | limitTo:3}}</div>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 一条线 -->
      <div class="commonLine"></div>
      <!-- 一条线 end-->
      <!--button-->
      <div style="padding:0 0 20px 0; width:90%; margin:0 auto">
        <div class="clearfix y-nav" style="padding:8px 0; text-align:right" >
          <a class=" fr request" data-dismiss="modal" aria-label="Close">确定</a>
        </div>
      </div>
      <!--button end-->
    </div>
  </div>
</div>

<!--邀请添加成员弹窗-->
<div class="Z-Participant" ng-show="addRole.invited">
  <div class="participant-top clearfix">
    <h3 class="floatL">邀请律师提示 </h3>
    <p class="floatL"></p>
  </div>
  <div class="participant-con">
    <p>已给主办律师：</p>
    <p>老吴</p>
    <p class="await">发送邀请！请耐心等待</p>
  </div>
  <button class="par-btn">确定</button>
</div>

<div ui-view="" style="position: relative;margin-top: 90px"></div>





<script>
    $('.dropdown-toggle').dropdown();
    /*设置屏幕高度*/
    (function () {
      setHeight();
      function setHeight() {
        var height = $(window).height()-100 + 'px';
        $(".well").css("height",height);
        $("#collapseExample").css("height",height);
      };
      $(window).resize(function() {
        setHeight();
      });
    }())
</script>
